package com.yunyi.web.controller.phy;

import com.yunyi.system.domain.EmrCaseMsg;
import com.yunyi.system.service.EmrCaseMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/msg")
public class EmrCaseMsgController {

    @Autowired
    private EmrCaseMsgService emrCaseMsgService;

    @PostMapping("/add")
    public void addMsg(EmrCaseMsg emrCaseMsg){
        emrCaseMsgService.save(emrCaseMsg);
    }
}
